﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MVCGalloSoftMV5.Models
{
    [Table("TipoAutoridad")]
    public class TipoAutoridad
    {
        [Key]
        public int TipoAutoridadId { get; set; }

        [Column("Descripcion")]
        [Display(Name = "Tipo")]
        [StringLength(150, MinimumLength = 1)]
        [Required(ErrorMessage = "Campo Tipo Autoridad es requerido.")]
        public string Descripcion { get; set; }
    }
}
